package com.edu.mapper;

import com.edu.bean.User;
import org.apache.ibatis.annotations.Param;

/**
 * @Author:zyn
 * @Date:2025/11/21--11:29:50
 */
public interface UserMapper {

    User selectUserByName(String username);

    User selectUserByUsernameAndPassword(@Param("username") String username, @Param("password") String password);

    int insertUser(User user);
}
